package com.tecode.service.impl;

import com.tecode.bean.Music;
import com.tecode.bean.Songsheet;
import com.tecode.bean.User;
import com.tecode.mapper.RecommendedMapper;
import com.tecode.service.RecommendedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/4/15.
 */
@Service
public class RecommendedServiceImpl implements RecommendedService {
    @Autowired
    private RecommendedMapper mapper;

    @Override
    public List<Map<String,Object>> recommended() {
        return mapper.recommended();
    }

    @Override
    public List<Map<String,Object>> recommended2() {
        return mapper.recommended2();
    }

}
